//
//  CarouselImageView.h
//  UI07_轮播图
//
//  Created by dllo on 15/12/14.
//  Copyright © 2015年 蓝鸥科技.李贺. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol CarouselImageViewDelegate <NSObject>

- (void)didClick:(NSInteger)tag;

@end

@interface CarouselImageView : UIView

@property (nonatomic, retain) UIScrollView *scrollView;
@property (nonatomic, retain) UIImageView *imageView;
@property (nonatomic, retain) UIPageControl *pageControl;
@property (nonatomic, retain) UILabel *alabel;
@property (nonatomic, copy) NSString *text;

@property (nonatomic, assign) id<CarouselImageViewDelegate>delegate;

+ (instancetype)CarouselImageViewWithFrame:(CGRect)frame
                                 pageFrame:(CGRect)pageFrame
                                imageArray:(NSMutableArray *)imageArray;


@end
